//
//  CustomSlider.h
//  ijkPlayer
//
//  Created by apple on 2018/5/25.
//  Copyright © 2018年 锦. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CustomSlider;
@protocol CustomSliderDelegate<NSObject>

- (void)CustomSliderDraging:(CustomSlider *)sender;

- (void)CustomSliderDragingEnd:(CustomSlider *)sender;

- (void)CustomSliderPointClicked:(NSInteger *)index WithCenterX:(CGFloat )x;
@end
@interface CustomSlider : UIControl

@property(nonatomic,weak) id<CustomSliderDelegate>delegate;
@property(nonatomic) float value;
@property(nonatomic) float minimumValue;
@property(nonatomic) float maximumValue;
@property(nonatomic,strong) NSArray *pointArray;
@property(nonatomic,assign) float dragX;
@end
